
public class j015_do_while循环 {
	public static void main(String[] args) {
		
////		int i = 1;
////		while(i >= 5) {
////			System.out.println("HelloWorld");
////			i++;
////		}
		int sum = 0;
		int i = 2;
		while(i<=100) {
			sum += i;
			i += 2;
		}
		System.out.println(sum);
		
		
		int he = 0;
		int j = 2;
		do {
			
			he += j;
			j += 2;
		}while(j <= 100);
		System.out.println(he);
		
	}

}
